import java.io.*;
public class TestFileoutputStreamDyl2200834 {
	public static void main (String args[] ){
		int Dyl2=0;
		FileInputStream in=null;
		FileOutputStream out=null;
		try{
			in=new FileInputStream("E:/资料/网页设计/calculator-master/calculator-master/index.html");
			out=new FileOutputStream("E:/资料/Java/java-language-practice1/12月12号/Dyl.txt");
			while((Dyl2=in.read())!=-1){
				out.write(Dyl2);
			}
			in.close();
			out.close();
		}
		catch(FileNotFoundException D3){
			System.out.println("请输入正确的路径，根本找不到你要的文件");
		}
		catch(IOException D4){
			System.out.println("文件复制错误，~~~~~~~~~~~~~~~~~~~~");
			System.exit(-1);
		}
		finally{
			System.out.println("文件已经复制~~~~~~~~~~~~~~~~~~~~~~");
		}
	}

}
